﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GameSchool.Models;
using System.Data.Entity;
using GameSchool.Models.Common;

namespace GameSchool.Repository
{
    public interface IGameSchoolRepository //: System.Data.Entity.Infrastructure.IObjectContextAdapter
        : IDisposable
    {
        DbSet<Person> Persons { get;  }
        DbSet<Course> Courses { get; }
        DbSet<StudentCourse> StudentCourses { get; }
        DbSet<TeacherCourse> TeacherCourses { get; }
        DbSet<Notification> Notifications { get; }
		DbSet<Assignment> Assignments { get; }
        DbSet<LevelParticipate> LevelParticipates { get; }

        DbSet<VideoLecture> VideoLectures { get;  }
        DbSet<Level> Levels { get; }

        bool LazyLoading { get; set; }

        int SaveChanges();
    }
}